//
//  SZChannelView.h
//  仿网易新闻
//
//  Created by made on 17/1/4.
//  Copyright © 2017年 made. All rights reserved.
//

#import <UIKit/UIKit.h>

@protocol SZChannelViewDelegate <NSObject>

- (void) channelChanged: (NSInteger)index;

@end

@interface SZChannelView : UIView

@property(weak,nonatomic)id<SZChannelViewDelegate> delegate;

//频道的模型数组
@property(nonatomic,strong)NSArray *channelList;

@property(nonatomic,assign)NSInteger currentIndex;

@end
